﻿using System;
using TE3.Entities;
using TE3.Utils;
using TE3Script;
using TE3;
namespace squares
{
	public class Main : IScript
	{
		public void Init(TE3Game game)
		{
			var i = 0;
			for (var x = 0; x != game.CurrentMap.MapSize.X; x++)
			{
				for (var y = 0; y != game.CurrentMap.MapSize.Y; y++)
				{
					i++;
					if(i > 0 && i % 2 == 0)
						game.CurrentMap.MapData[x, y, 0] = new TileInfo("Tiles/grass.png");
				}
				i++;
			}
		}

		public void Run()
		{

		}
	}
}
